﻿Imports System.Collections.Generic
Imports Microsoft.DPE.Samples.PictureProvider





Namespace Mocks

    Friend Class MockPictureProvider
        Inherits PictureProvider


        Public GetPictureByIdCalled As Boolean
        Public GetPicturesCalled As Boolean
        Public GetPicturesByTagCalled As Boolean

       

        Public Overrides Function GetPictureById(ByVal pictureId As String) As Picture
            GetPictureByIdCalled = True
            Return Nothing
        End Function

        Public Overrides Function GetPictures() As System.Collections.Generic.List(Of Picture)
            GetPicturesCalled = True
            Return New List(Of Picture)
        End Function

        Public Overrides Function GetPicturesByTag(ByVal tagName As String) As System.Collections.Generic.List(Of Picture)
            GetPicturesByTagCalled = True
            Return New List(Of Picture)
        End Function
    End Class

End Namespace


